#include <iostream>

int main() {
    int L;
    scanf("%d",&L);
    int t;
    t=L/30*60;  //时间=距离/路程*60s
    printf("%d minutos",t);
    return 0;
}
